<template>
  <div class="csj-imgage-preview">
    <Modal footer-hide v-model="isShowModel" title="视频预览" width="900" @on-cancel="close">
      <Spin size="large" fix v-if="loading"></Spin>
      <div class="csj-preview-content" v-else>
        <video class="csj-preview-img" :style="previewStyle" :src="url" alt="" controls> </video>
      </div>
    </Modal>
  </div>
</template>
<script lang='ts' src="./videoPreview.ts"></script>